package top.xuziyi.common.pojo;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Entity
@Table(name = "stock_zs")
public class StockZs implements Serializable {

    @Id
    private String symbol;  //股票代码
    private String code;    //股票编号
    private String name;    //指数名称
    private String stocks;  //包含股票代码
    private String status;  //状态，待用字段

    public String getSymbol() {
        return symbol;
    }

    public void setSymbol(String symbol) {
        this.symbol = symbol;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStocks() {
        return stocks;
    }

    public void setStocks(String stocks) {
        this.stocks = stocks;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "StockZs{" +
                ", symbol='" + symbol + '\'' +
                ", code='" + code + '\'' +
                ", name='" + name + '\'' +
                ", stocks='" + stocks + '\'' +
                ", status='" + status + '\'' +
                '}';
    }
}
